import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import axios from 'axios'
import md5 from 'js-md5';
import VueAxios from 'vue-axios'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.use(VueAwesomeSwiper, /* { default global options } */ )
Vue.use(VueAxios, axios)
Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$md5 = md5
Vue.prototype.$base = 'http://api.xizangshenhouyaoye.com'
// Vue.prototype.$base = 'http://192.168.3.234'（本地  发上面那个）
Vue.prototype.$key = 'qt)KvS9Hl7*GWP#GAtgGU8K'
Vue.prototype.$dataTime = function () {
	return Math.round(new Date() / 1000)
}
new Vue({
	router,
	render: h => h(App)
}).$mount('#app')